﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="T_InquiryPage.aspx.cs" Inherits="T_InquiryPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:LinkButton ID="LinkButton5" runat="server" Font-Underline="False" OnClick="LinkButton5_Click">首页</asp:LinkButton>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        <asp:LinkButton ID="LinkButton1" runat="server" Font-Underline="False" OnClick="LinkButton1_Click">浏览选课信息</asp:LinkButton>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
        <asp:LinkButton ID="LinkButton2" runat="server" Font-Underline="False" OnClick="LinkButton2_Click">浏览个人基本信息</asp:LinkButton>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        <asp:LinkButton ID="LinkButton3" runat="server" Font-Underline="False" OnClick="LinkButton3_Click">基本信息查询</asp:LinkButton>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
        <asp:LinkButton ID="LinkButton4" runat="server" Font-Underline="False" OnClick="LinkButton4_Click">选课查询</asp:LinkButton> 
        <br />
        <br />
        <br />
   </div>
   <div>
            <!--datagrid 用于数据绑定显示表格信息-->
            <asp:datagrid   id="dg1" runat="server"	 
                BorderColor="Black"
                BorderWidth="1px"
                CellPadding="3"
                Font-Size="8pt"
                OnPageIndexChanged="MyDataGrid_Page"
                AutoGenerateColumns="True" Width="603px" Font-Names="Verdana" PagerStyle-HorizontalAlign="Right"
                PagerStyle-Mode="NumericPages" AllowPaging="True" HorizontalAlign="Center"   
               >
            
                        <HeaderStyle BackColor="#AAAADD"/>
                        <EditItemStyle BackColor="Yellow"/>
                        <PagerStyle HorizontalAlign="Left" Wrap="True" Mode="NumericPages"></PagerStyle>
	         </asp:datagrid>

            
  </div>
        
  <p style="FONT-SIZE:9pt" align="center">    <!--用于分页-->
  
            <asp:label id="lblPageCount" runat="server"></asp:label>&nbsp;
            <asp:label id="lblCurrentIndex" runat="server"></asp:label>
            <asp:linkbutton id="btnFirst" onclick="PagerButtonClick" runat="server" Font-Names="verdana"
  	                        Font-size="8pt" ForeColor="navy" CommandArgument="0"></asp:linkbutton>&nbsp;
            <asp:linkbutton id="btnPrev" onclick="PagerButtonClick" runat="server" Font-Names="verdana"
  	                        Font-size="8pt" ForeColor="navy" CommandArgument="prev"></asp:linkbutton>&nbsp;
            <asp:linkbutton id="btnNext" onclick="PagerButtonClick" runat="server" Font-Names="verdana"
  	                        Font-size="8pt" ForeColor="navy" CommandArgument="next"></asp:linkbutton>&nbsp;
            <asp:linkbutton id="btnLast" onclick="PagerButtonClick" runat="server" Font-Names="verdana"
  	                        Font-size="8pt" ForeColor="navy" CommandArgument="last"></asp:linkbutton>
  </p>
        <p>
            &nbsp;</p>
        <p>
            <asp:DropDownList ID="DL1" runat="server" Width="153px" OnTextChanged="DL1_TextChanged" AutoPostBack="True">
                <asp:ListItem>请选择查询信息</asp:ListItem>
                <asp:ListItem>账号查询</asp:ListItem>
                <asp:ListItem>课程名查询</asp:ListItem>
            </asp:DropDownList>
            <asp:DropDownList ID="DL2" runat="server" Width="168px" AutoPostBack="True">
                <asp:ListItem>请选择学期</asp:ListItem>
                <asp:ListItem>大一上学期</asp:ListItem>
                <asp:ListItem>大一下学期</asp:ListItem>   
                <asp:ListItem>大二上学期</asp:ListItem>
                <asp:ListItem>大二下学期</asp:ListItem>   
                <asp:ListItem>大三上学期</asp:ListItem>
                <asp:ListItem>大三下学期</asp:ListItem>   
                <asp:ListItem>大四上学期</asp:ListItem>
                <asp:ListItem>大四下学期</asp:ListItem>   
            </asp:DropDownList>
            <asp:Label ID="Label1" runat="server" Text="输入信息"></asp:Label>
            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>&nbsp;<asp:Button ID="Button1"
                runat="server" Text="查询" Width="70px" OnClick="Button1_Click" /></p>
        <p>
            <asp:DropDownList ID="DL3" runat="server" Width="155px" AutoPostBack="True">
            　　<asp:ListItem>请选择学期</asp:ListItem>
                <asp:ListItem>大一上学期</asp:ListItem>
                <asp:ListItem>大一下学期</asp:ListItem>   
                <asp:ListItem>大二上学期</asp:ListItem>
                <asp:ListItem>大二下学期</asp:ListItem>   
                <asp:ListItem>大三上学期</asp:ListItem>
                <asp:ListItem>大三下学期</asp:ListItem>   
                <asp:ListItem>大四上学期</asp:ListItem>
                <asp:ListItem>大四下学期</asp:ListItem>   
            </asp:DropDownList>
            <asp:DropDownList ID="DL4" runat="server" Width="166px" AutoPostBack="True" OnTextChanged="DL4_TextChanged">
                <asp:ListItem>请选择查询方式</asp:ListItem>
                <asp:ListItem>详细查询</asp:ListItem>
                <asp:ListItem>账号查询</asp:ListItem>   
                <asp:ListItem>班级查询</asp:ListItem>
            </asp:DropDownList>
            <asp:DropDownList ID="DL5" runat="server" Width="165px" AutoPostBack="True">
            　　<asp:ListItem>请选择班级</asp:ListItem>
                <asp:ListItem>一班</asp:ListItem>
                <asp:ListItem>二班</asp:ListItem>   
                <asp:ListItem>三班</asp:ListItem>
            </asp:DropDownList>
            <asp:Label ID="Label2" runat="server" Text="请输入课程名"></asp:Label>
            <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            &nbsp;
            <asp:Label ID="Label3" runat="server" Text="请输入学生账号"></asp:Label>
            <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
            <asp:Button ID="Button2" runat="server" Text="查询" Width="70px" OnClick="Button2_Click" /></p>
    </form>
</body>
</html>
